package com.qingke.factory;

import java.util.HashMap;
import java.util.Map;

import com.qingke.command.Command;
import com.qingke.pojos.User;

public class UserCommandFactory extends AbstractCommandFactory {
	private User user;
	private Map<String,Command> map = new HashMap<String,Command>();
	
	static{
		
	}
	public UserCommandFactory(User user){
		this.user = user;
	}
	@Override
	public Command getCommand(String cmd) {
		String command = cmd.toLowerCase();
		Command c = map.get(command);
		return c;
	}
	
}
